package com.wltjack.springboot.config;


import org.apache.activemq.command.ActiveMQQueue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class QueueConfig {
	
	@Bean(name="testQueue")
	public javax.jms.Queue testQueue() {
		return new ActiveMQQueue("active.test.queue");
	}

	@Bean(name="rabbitMqQueue")
	public org.springframework.amqp.core.Queue rabbitMqQueue() {
		return new org.springframework.amqp.core.Queue("rabbit.mq.queue");
	}
	
}
